import request from '@/utils/request'

export function updateSystemConfig(data = {}) {
  return request({
    url: '/workbench/system-config/save',
    method: 'post',
    data
  })
}

export function getSystemConfig(data = {}) {
  return request({
    url: '/workbench/system-config/list',
    method: 'get',
    params:data
  })
}

export function getSystemConfigDetail(data = {}) {
  return request({
    url: '/workbench/system-config/detail',
    method: 'get',
    params:data
  })
}
